package cn.stylefeng.guns.modular.business.frequency.ordersub.model.result;

import cn.stylefeng.guns.modular.business.custom.convert.*;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Description:
 * @Author jzy
 * @Date 2021/10/23
 **/
@Data
@ColumnWidth(15)
public class OrderSubExport {

    @ExcelProperty("订单号")
    private String orderSubNo;
    @ExcelProperty(value = "状态", converter = OrderStatusConvert.class)
    private Integer status;
    @ExcelProperty("制单人")
    private String createUserName;
    @ExcelProperty("制单时间")
    private String createTime;
    @ExcelProperty("委托方")
    private String companyName;
    @ExcelProperty("联系人")
    private String linkmanName;
    @ExcelProperty("联系电话")
    private String linkmanPhone;
    @ExcelProperty("出发地")
    private String startName;
    @ExcelProperty("目的地")
    private String destinationName;
    @ExcelProperty("车型")
    private String carName;
    @ExcelProperty("车架号")
    private String vin;
    @ExcelProperty(value = "提车方式", converter = PickTypeConvert.class)
    private Integer pickType;
    @ExcelProperty(value = "送车方式", converter = TakeTypeConvert.class)
    private Integer takeType;

    @ExcelProperty(value = "运输方式", converter = TransportWayConvert.class)
    private Integer transportType;

    @ExcelProperty("总运费")
    private BigDecimal totalFee;
    @ExcelProperty(value = "付款方式", converter = PaymentTypeConvert.class)
    private String paymentType;
    @ExcelProperty("备注")
    private String remark;
}
